AUTOMAKE_OPTIONS=foreign

l = sl
addendum = -a $(top_srcdir)/po4a/$(l)/translator_slovene.add

TRANSLATE = po4a-translate -k 0 -f man $(addendum) -p $(top_srcdir)/po4a/po/$(l).po

EXTRA_DIST = translator_slovene.add

manlangonedir = $(mandir)/$(l)/man1
dist_manlangone_DATA = which.debianutils.1

manlangeightdir = $(mandir)/$(l)/man8
dist_manlangeight_DATA = add-shell.8 installkernel.8 remove-shell.8 run-parts.8 savelog.8

%.1: $(top_srcdir)/%.1
	$(TRANSLATE) -m $< -l $@

%.8: $(top_srcdir)/%.8
	$(TRANSLATE) -m $< -l $@
